from django.conf.urls.defaults import *
from bliki.models import Article


info_dict_blog = {
    'queryset': Article.blog_post_objects.all(),
    'date_field': 'pub_date',
}

urlpatterns = patterns('django.views.generic.date_based',
    # The home view is the blog home
    (r'^/?$', 'archive_index', info_dict_blog),
)
